package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author rsw
 * @since 2022-10-11
 */
@Getter
@Setter
  @TableName("tb_team")
@ApiModel(value = "Team对象", description = "")
public class Team implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("团队编号（id）")
      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("团队封面")
      private String img;

      @ApiModelProperty("团队名称")
      private String name;

      @ApiModelProperty("所属机构名称")
      private String jgName;

      @ApiModelProperty("机构地址")
      private String jgAddress;

      @ApiModelProperty("签约人数")
      private Integer num;

      @ApiModelProperty("团队评分")
      private Double grade;

      @ApiModelProperty("团队长姓名")
      private String dcName;

      @ApiModelProperty("团队状态：0（已启用）1（未启用）")
      private String status;

      @ApiModelProperty("团队标签")
      private String label;

      @ApiModelProperty("团队创建时间")
      @TableField(fill = FieldFill.INSERT)
      private Date createTime;

      @ApiModelProperty("是否删除：0（未删除）1（已删除）")
      @TableLogic
      private String isDelete;

      @ApiModelProperty("团队更新时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date updateTime;

      @ApiModelProperty("分享数量")
      private Integer shareNum;

      @ApiModelProperty("机构id")
      private Integer jgId;
}
